import React from 'react'
import { NavBar} from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
const Index:React.FC = () => {
  const navigate = useNavigate()
  const backquan = () => {
    navigate(-1)
  }
  return (
    <div>
         <NavBar onBack={backquan}>全国医院哪家好</NavBar>
    </div>
  )
}

export default Index